<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8" />
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
	<title>骨医快线</title>
	<link rel="stylesheet" href="../../css/mui.plus.css" />
	<style>
		span {
			padding: 0 5px;
		}
	</style>
</head>
<body>
	<header class="mui-bar mui-bar-nav pri-bar">
	    <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
	    <h1 class="mui-title">病人详情</h1>
	</header>
	
	<div class="mui-content">
		<ul class="mui-table-view common-img-text-list">
			<li class="mui-table-view-cell mui-media">
				<a href="javascript:;">
					<img class="mui-media-object mui-pull-left" src="../../images/1.png" style="width: 50px;height: 50px;border-radius: 100px;">
					<div class="mui-media-body" style="padding-top: 15px;">
						<span class="pa-name">张三</span>
						<span class="pa-sex">男</span>
						<span class="pa-age">35岁</span>
					</div>
				</a>
			</li>
		</ul>
		
		<div class="module-divide-block"></div>
		
		<ul class="mui-table-view">
			<li class="mui-table-view-cell">
				<div>
					<span class="pa-name1">张三</span>
					<span class="pa-sex1">男</span>
					<span class="pa-age1">35岁</span>
				</div>
				<div style="font-size: 14px;color: #999;">
					<span class="pa-opt">腰椎间盘突出症</span>
					<span class="pa-bednum">234床</span>
					<span class="mui-pull-right pa-time" style="font-size: 12px;">2016.5.5</span>
				</div>
			</li>
		</ul>
	</div>
	
	<script src="../../js/mui.min.js"></script>
	<script src="../../js/app.js"></script>
	<script>
		(function($){
			$.init();
			window.addEventListener("interviewDetailPage", function (event) {
            	obj = event.detail;
            	document.getElementsByClassName('pa-name')[0].innerHTML = document.getElementsByClassName('pa-name1')[0].innerHTML = obj.pa_nickname;
            	document.getElementsByClassName('pa-age')[0].innerHTML = document.getElementsByClassName('pa-age1')[0].innerHTML = obj.pa_age;
            	document.getElementsByClassName('pa-sex')[0].innerHTML = document.getElementsByClassName('pa-sex1')[0].innerHTML = obj.pa_sex;
        	});
		}(mui));
	</script>
</body>
</html>